namespace RivercrabNet
{
    using System;
    using System.Drawing;

    public class VerticalScale
    {
        private RivercrabNet.DecimalStyle decimalStyle;
        private int digit = 2;
        private System.Drawing.Font font = new System.Drawing.Font("New Times Roman", 9f);
        private Brush font_Brush = new SolidBrush(Color.White);
        private Pen scalePen = new Pen(Color.Red);
        private double tick = 0.01;
        private Brush tip_Brush = new SolidBrush(Color.FromArgb(100, Color.Red));
        private System.Drawing.Font tipFont = new System.Drawing.Font("New Times Roman", 10f, FontStyle.Bold);
        private Brush tipFont_Brush = new SolidBrush(Color.White);
        private Pen tipFont_Pen = new Pen(Color.White);

        ~VerticalScale()
        {
            if (this.tip_Brush != null)
            {
                this.tip_Brush.Dispose();
            }
            if (this.tipFont_Brush != null)
            {
                this.tipFont_Brush.Dispose();
            }
            if (this.tipFont_Pen != null)
            {
                this.tipFont_Pen.Dispose();
            }
            if (this.scalePen != null)
            {
                this.scalePen.Dispose();
            }
            if (this.font_Brush != null)
            {
                this.font_Brush.Dispose();
            }
        }

        public RivercrabNet.DecimalStyle DecimalStyle
        {
            get
            {
                return this.decimalStyle;
            }
            set
            {
                this.decimalStyle = value;
            }
        }

        public int Digit
        {
            get
            {
                return this.digit;
            }
            set
            {
                this.digit = value;
            }
        }

        public System.Drawing.Font Font
        {
            get
            {
                return this.font;
            }
            set
            {
                this.font = value;
            }
        }

        public Brush Font_Brush
        {
            get
            {
                return this.font_Brush;
            }
            set
            {
                this.font_Brush = value;
            }
        }

        public Pen ScalePen
        {
            get
            {
                return this.scalePen;
            }
            set
            {
                this.scalePen = value;
            }
        }

        public double Tick
        {
            get
            {
                return this.tick;
            }
            set
            {
                this.tick = value;
            }
        }

        public Brush Tip_Brush
        {
            get
            {
                return this.tip_Brush;
            }
            set
            {
                this.tip_Brush = value;
            }
        }

        public System.Drawing.Font TipFont
        {
            get
            {
                return this.tipFont;
            }
            set
            {
                this.tipFont = value;
            }
        }

        public Brush TipFont_Brush
        {
            get
            {
                return this.tipFont_Brush;
            }
            set
            {
                this.tipFont_Brush = value;
            }
        }

        public Pen TipFont_Pen
        {
            get
            {
                return this.tipFont_Pen;
            }
            set
            {
                this.tipFont_Pen = value;
            }
        }
    }
}

